import instance from '../config/index'
import qs from 'qs'
 let  wapUrl="http://api.51clj.com";
export default {
    // 账户信息
   
    getMess(data){
        return instance.post(instance.wapUrl+"/app/member/account/accountJson",qs.stringify(data))
    },
    //修改登陆密码
    changeP(data){
        return instance.post(instance.wapUrl+"/app/member/account/updatePwd",qs.stringify(data))
    },      
    //设置提现密码  
    backPayPwd(data){
        return instance.post(instance.wapUrl+"/app/member/payPassword/backPayPwd",qs.stringify(data))
    },
    //资金日志  
    accountLogJson(data){
        return instance.post(instance.wapUrl+"/app/member/accountLog/accountLogJson",qs.stringify(data))
    },
    //我的-首页 
    indexJson(data){
        return instance.post(instance.wapUrl+"/app/member/account/indexJson",qs.stringify(data))
    },   
    //我的邀请码   
    myInviteCode(data){
        return instance.post(instance.wapUrl+"/app/member/account/myInviteCode",qs.stringify(data))        
    },
    //我的银行卡   
    bankJson(data){
        return instance.post(instance.wapUrl+"/app/member/bankauth/bankJson",qs.stringify(data))
    },
    //实名认证上传图片
    doUploadPic(data){
        return instance.post(instance.wapUrl+"/app/member/bankauth/doUploadPicForBase64",qs.stringify(data)) 
    },
    //实名认证提交
    doRealNameJson(data){
        return instance.post(instance.wapUrl+"/app/member/certification/doRealNameJson",qs.stringify(data))
    },
     //实名认证上传图片
    doUploadphoto(data){
        return instance.post(instance.wapUrl+"/app/member/account/doUploadPicForBase64	",qs.stringify(data))
    },
     //添加银行卡初始化数据
    getAddBankCardInitData(data){
        return instance.post(instance.wapUrl+"/app/member/bankauth/getAddBankCardInitData",qs.stringify(data))
    },
     //添加银行提交
    doAddBankCard(data){
        return instance.post(instance.wapUrl+"/app/member/bankauth/doAddBankCard",qs.stringify(data))
    },
    
     //快捷支付
    doRecharge(data){
        return instance.post(instance.wapUrl+"/wap/member/lianlianPay/doRecharge",qs.stringify(data))
    },
    
     //公告list
    noticeList(data){
        return instance.post(instance.wapUrl+"/app/open/discover/noticeList",qs.stringify(data))
    },
     //公告详情
    noticeDetail(data){
        return instance.post(instance.wapUrl+"/app/open/discover/noticeDetail",qs.stringify(data))
    },
      //关于我们
    aboutUs(data){
        return instance.post(instance.wapUrl+"/app/open/discover/aboutUs",qs.stringify(data))
    },
     //服务中心
    suggestion(data){
        return instance.post(instance.wapUrl+"/app/member/account/suggestion",qs.stringify(data))
    },
     //提现
    applyCash(data){
        return instance.post(instance.wapUrl+"/app/member/cash/applyCash",qs.stringify(data))
    },
    
     //删除银行卡
    delBankCard(data){
        return instance.post(instance.wapUrl+"/app/member/bankauth/delBankCard",qs.stringify(data))
    },
      //我的受益变化
    userUpDownProfitLatest7Days(data){
        return instance.post(instance.wapUrl+"/app/member/account/userUpDownProfitLatest7Days",qs.stringify(data))                  
    },
      //客服中心
    helpCenter(data){
        return instance.post(instance.wapUrl+"/app/open/discover/helpCenter",qs.stringify(data))
    },
    
      //提现判断是否   提现密码设置
    checkCash(data){
        return instance.post(instance.wapUrl+"/app/member/account/checkCash",qs.stringify(data))
    },
    
}